package com.yiwei.hdb.model;

import java.util.List;

/**
 * Created by xsooy-pc on 2017/5/26.
 */

public class BonusModel extends ResponseModel {


    /**
     * pager : {"page":1,"pageSize":10,"recordCount":"13","allPages":2}
     * list : [{"id":"69","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:53","use_start_time_format":"2017-06-14 01:49"},{"id":"67","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:53","use_start_time_format":"2017-06-14 01:49"},{"id":"66","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:53","use_start_time_format":"2017-06-14 01:49"},{"id":"65","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:53","use_start_time_format":"2017-06-14 01:49"},{"id":"64","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:53","use_start_time_format":"2017-06-14 01:49"},{"id":"61","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:52","use_start_time_format":"2017-06-14 01:49"},{"id":"59","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:52","use_start_time_format":"2017-06-14 01:49"},{"id":"54","bonus_type_name":"现金券","use_end_time_format":"2017-07-14 17:52","use_start_time_format":"2017-06-14 01:49"},{"id":"50","bonus_type_name":"减免券","use_end_time_format":"2017-07-14 17:52","use_start_time_format":"2017-06-14 01:49"},{"id":"49","bonus_type_name":"减免券","use_end_time_format":"2017-07-14 17:52","use_start_time_format":"2017-06-14 01:49"}]
     */

    public PagerBean pager;
    public List<ListBean> list;
    public float borrow_amount;

    public static class PagerBean {
        /**
         * page : 1
         * pageSize : 10
         * recordCount : 13
         * allPages : 2
         */

        public int page;
        public int pageSize;
        public int recordCount;
        public int allPages;
    }

    public static class ListBean {
        /**
         * id : 69
         * bonus_type_name : 现金券
         * use_end_time_format : 2017-07-14 17:53
         * use_start_time_format : 2017-06-14 01:49
         */
        public String money;
        public String id;
        public int limit_amount;
        public String bonus_type_name;
        public long use_end_time_format;
        public long use_start_time_format;
        public boolean isCheck = false;
    }
}
